<?php
/**
 * Parameters
 * @param $code string
 */
?>
<?php 
  $codes = array('by' => 'Bayern', 'bw' => 'Baden-Württemberg', 'be' => 'Berlin', 'bb' => 'Brandenburg', 'br' => 'Bremen', 'ha' => 'Hamburg', 'he' => 'Hessen', 'mp' => 'Mecklenburg-Vorpommern', 'ni' => 'Niedersachsen', 'nr' => 'Nordrhein-Westfalen' , 'rp' => 'Rheinland-Pfalz' ,'sr' => 'Saarland', 'sx' => 'Sachsen', 'sa' => 'Sachsen-Anhalt', 'sh' => 'Schleswig-Holstein' , 'th' => 'Thüringen');
  echo $codes[$code];
?>